package main

import "fmt"

// C语言
// typedef int MyInt
// go语言
type MyInt int

// C语言
// struct Person {}
// go语言
type Student struct {
	name   string
	age    int
	gender string
	score  float64
}

func main13() {
	lily := Student{
		name:   "lily",
		age:    20,
		gender: "fm",
		score:  80,
	}
	fmt.Println(lily)

	s1 := &lily
	fmt.Println(s1.name)
	fmt.Println((*s1).name)
}
